<%--
    Document   : view fragment for task
    Created on : Mar 10, 2014, 10:54:45 PM
    Author     : Anton Strack
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<article id="${bean.id}" class="panel panel-default">
    <h3 class="panel-title">${bean.name}</h3>
    <div class="panel-body">
        <p>Category Description: ${bean.description} </p>
        <p><a href="${req.contextPath}?action=list&resource=category&id=${bean.id}">View posts belonging to ${bean.name} category</a></p>
    </div>
    <div class="panel-footer">
        <p>Created By: ${bean.getDerivedValue("CreatedByName")} on <csd:displayTimestamp timestamp="${bean.createdDate}"></csd:displayTimestamp>
    </p><p><a href="${req.contextPath}?action=delete&resource=category&id=${bean.id}">Delete Category</a> | <a href="${req.contextPath}?action=update&resource=category&id=${bean.id}">Update Category</a></p>
</div>
</article>

